<?php
namespace app\common\model;

class Video extends Base
{
    protected $name = 'video';

    public function getUrlAttr($val)
    {
        if(!$val){
            return '';
        }

        return config('app.url') . $val;
    }
}